#
# For Qt
#
find_package(Qt4 REQUIRED)

add_definitions(${QT_DEFINTIONS})

link_directories(${QT_LIB_DIR})

include_directories(${QT_INCLUDE_DIR})

include(${QT_USE_FILE})

set(chordview_srcs
    Controller.cpp
    Scene.cpp
    View.cpp
)

set(chordview_moc_hdrs
    View.h
)

set(chordview_libs
    ${QT_LIBRARIES}
)

qt4_wrap_cpp(chordview_moc_srcs ${chordview_moc_hdrs})

include_directories(.)

add_library(chordview ${chordview_srcs} ${chordview_moc_srcs})

target_link_libraries(chordview ${chordview_libs})
